<ion-view hide-back-button="true" style="background-color: #fff" title="">
  <ion-nav-buttons side="left">
    <label ng-click="goSearch()" style="background-color: #fff; width: 95%; border-radius: 20px; left: 5px; height: 35px; line-height: 33px; display: block; position: fixed; z-index: 1000">
      <i class="icon ion-search placeholder-icon" style="display: inline; padding-left: 10px"></i>
      <input id="search-input" onfocus="this.blur()" placeholder="搜索商品" style="display: inline; padding-left: 10px; width: 80%; background-color: #fff" type="text">
    </label>
  </ion-nav-buttons>
  <ion-content>
    <!-- <ion-refresher on-refresh="doRefresh()" pulling-text="下拉刷新中..."></ion-refresher> -->

    <div class="subclass-right" style="position: absolute;top: 0;  bottom: 0;left: 0;right: 0;" id="right-class">
      <div class="list" ng-if="class2.sub_class.length > 0" ng-repeat="class2 in c2" style="padding-left: 5px" class="no-padding">
        <div class="item item-divider" ui-sref="goods.search({classid:class2.product_class_id, type: class2.type})">
          <span style="float: left">{{class2.name}}</span>
          <span style="float: right">
            <i class="icon ion-chevron-right"></i>
          </span>
        </div>
        <div>
          <div ng-repeat="class3 in class2.class" class="no-padding">
            <div class="item row subclass-goods">
              <div class="col col-33" ng-if="class3[0]" ui-sref-opts="{reload: true, notify: true}" ui-sref="goods.search({classid:class3[0].product_class_id, type: class3[0].type})">
                <div class="subclass-goods-item">
                  <div ng-if="class3[0].imgurl"><img alt="" lazy-img="{{class3[0].imgurl}}" src='img/hd/file.png' style="width: 100%"></div>
                  <div style="white-space:normal">{{class3[0].name}}</div>
                </div>
              </div>
              <div class="col col-33" ng-if="class3[1]" ui-sref-opts="{reload: true, notify: true}" ui-sref="goods.search({classid:class3[1].product_class_id, type: class3[1].type})">
                <div class="subclass-goods-item">
                  <div ng-if="class3[1].imgurl"><img alt="" lazy-img="{{class3[1].imgurl}}" src='img/hd/file.png' style="width: 100%"></div>
                  <div style="white-space:normal">{{class3[1].name}}</div>
                </div>
              </div>
              <div class="col col-33" ng-if="class3[2]" ui-sref-opts="{reload: true, notify: true}" ui-sref="goods.search({classid:class3[2].product_class_id, type: class3[2].type})">
                <div class="subclass-goods-item">
                  <div ng-if="class3[2].imgurl"><img alt="" lazy-img="{{class3[2].imgurl}}" src='img/hd/file.png' style="width: 100%"></div>
                  <div style="white-space:normal">{{class3[2].name}}</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div ng-style="{height: issb? 2000 : 0 + 'px'}"></div>
  </ion-content>
</ion-view>
